package com.itheima.area.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 农田设备
 */
@Table(name = "t_cust_farmland_device")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustFarmlandDevice {
    /**
     *
     */
    @Id
    private Integer id;

    /**
     * 设备id
     */
    private Integer did;

    /**
     * 所属农田
     */
    private String devLandId;

    /**
     * 设备编号
     */
    private String code;

    /**
     * 运行状态
     */
    private String operation;

    /**
     * 安装状态
     */
    private String install;

    /**
     * 安装位置
     */
    private String location;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String devLandId() {
        return devLandId;
    }

    public void devLandId(String cropLandId) {
        this.devLandId = cropLandId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getInstall() {
        return install;
    }

    public void setInstall(String install) {
        this.install = install;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}

